module.exports = app => {
    const { router, controller } = app;
    router.get('/', controller.home.index);
    router.get("/api/article/banner",controller.article.banner.index);
    router.get("/api/article/list",controller.article.list.index);
    router.get("/api/article/subject/:id",controller.article.subject.index);
    router.post("/api/article/collect",controller.article.collect.index);
  };